﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.UI.Event
{
    public class TabChangeCompetedEvent
    {
         /// <summary>
        /// 原选项卡序号
        /// </summary>
        public int OldTabIndex { get; set; }

        /// <summary>
        /// 新选项卡序号
        /// </summary>
        public int NewTabIndex { get; set; }

        /// <summary>
        /// 场景名称
        /// </summary>
        public string Scene { get; set; }

        /// <summary>
        /// 选项卡容器
        /// </summary>
        public string TabContainer { get; set; }

        public TabChangeCompetedEvent(int oldTabIndex, int newTabIndex, string scene, string tabContainer)
        {
            this.NewTabIndex = newTabIndex;
            this.OldTabIndex = oldTabIndex;
            this.Scene = scene;
            this.TabContainer = tabContainer;
        }
    }
}
